package com.jian.java.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author Jiange
 * @create 2021-04-28-17:32
 */
@Controller
public class Test {
    @GetMapping("/test1")
    public String test1(Model model){
        System.out.println("test1");
        model.addAttribute("mes","李子建");
        model.addAttribute("href","github.com");
        System.out.println("建哥");
        return "thymeleaf";
    }
}
